/*
 * @Author:许旺玉
 * @Description: 用户优惠券有关接口
 * @Date: 2020-06-28 15:46:04
 * @LastEditTime: 2020-06-29 11:02:13
 * @LastEditors: Please set LastEditors
 */ 
import { ajaxGet,ajaxPost } from '@/utlis/request.js'

export function user_Getcoupon(params) {  //列表  
    const url = 'user/coupon'
    return ajaxGet(url, params)
}

export function user_Postcoupon(data) {  //领取优惠券  
    const url = 'user/coupon'
    return ajaxPost(url, data)
}